package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.entity.SubjectCategoryDTO;
import com.jingdianjichi.subject.application.entity.SubjectLabelDTO;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * ClassName :SubjectCategoryConverter
 * Package :com.jingdianjichi.subject.application.convert
 * Desciption :
 *
 * @Author :
 * @Create : 17:20
 * @Version :1.0
 */
@Mapper
public interface SubjectLabelDTOConverter {

  SubjectLabelDTOConverter INSTANCE = Mappers.getMapper(SubjectLabelDTOConverter.class);

  SubjectLabelBO convertDtoToLabelBO(SubjectLabelDTO subjectLabelDTO);

  SubjectLabelDTO convertBOToLabelDTO(SubjectLabelBO bo);

  List<SubjectLabelDTO> convertBOToLabelDTOList(List<SubjectLabelBO> boList);





}
